package com.briup.jd2407cms.domain.extend;

import com.briup.jd2407cms.domain.Comment;
import com.briup.jd2407cms.domain.Subcomment;
import com.briup.jd2407cms.domain.User;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;

import java.util.List;

/**
 * @BelongsProject: JD2407-cms
 * @BelongsPackage: com.briup.jd2407cms.domain.extend
 * @Author: 鲨鲨天下第一
 * @CreateTime: 2024-11-22  22:17
 * @Description: TODO
 * @Version: 1.0
 */
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CommentExtend extends Comment {
    @JsonProperty("author")
    private User user;
    @JsonProperty("childComments")
    private List<Subcomment> subcomment;
}
